package com.sinry.common.core.annotations;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;

import java.lang.annotation.*;

/**
 * @author linxinlei
 * @project sinry-cloud
 * @description 包扫描
 * @date 2022/5/21
 **/
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@ComponentScans({
        @ComponentScan("com.sinry.common.core"),
        @ComponentScan("com.sinry.common.datasource"),
        @ComponentScan("com.sinry.common.log"),
        @ComponentScan("com.sinry.stream"),
        @ComponentScan("com.sinry.swagger"),
        @ComponentScan("com.sinry.api.client"),
})
public @interface SinryPackageScan {

}
